package com.ruoyi.safety.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 地点管理对象 adress
 * 
 * @author lth
 * @date 2024-03-13
 */
public class Adress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 煤矿名称 */
    @Excel(name = "煤矿名称")
    private String mineId;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String areaId;

    /** 安装地址 */
    @Excel(name = "安装地址")
    private String installAdress;

    /** 增加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "增加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date insertDate;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMineId(String mineId) 
    {
        this.mineId = mineId;
    }

    public String getMineId() 
    {
        return mineId;
    }
    public void setAreaId(String areaId) 
    {
        this.areaId = areaId;
    }

    public String getAreaId() 
    {
        return areaId;
    }
    public void setInstallAdress(String installAdress) 
    {
        this.installAdress = installAdress;
    }

    public String getInstallAdress() 
    {
        return installAdress;
    }
    public void setInsertDate(Date insertDate) 
    {
        this.insertDate = insertDate;
    }

    public Date getInsertDate() 
    {
        return insertDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mineId", getMineId())
            .append("areaId", getAreaId())
            .append("installAdress", getInstallAdress())
            .append("remark", getRemark())
            .append("insertDate", getInsertDate())
            .toString();
    }
}
